package com.bridgeintelligent.tag.user.mgmt.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import java.io.Serializable;
import java.util.List;

/**
 * 角色实体类
 */
@ApiModel
public class Role implements Serializable {
    //角色id
    @ApiModelProperty("角色id")
    private String roleId;
    //角色名称
    @ApiModelProperty("角色名称")
    private String roleName;
    //是否锁定
    @ApiModelProperty("是否锁定:01表示锁定,02表示未锁定")
    private String isLocked;
    //是否锁定名称
    private String isLockedName;
    //描述
    @ApiModelProperty("描述")
    private String roleDsc;
    //是否有效
    @ApiModelProperty("是否有效:01表示有效,02表示无效")
    private String efftctiveSymbol;
    //是否有效名称
    private String isEfftctive;
    //操作时间
    private String operateTime;
    //权限信息
    @ApiModelProperty("权限列表")
    private List<String> powerIds;
    @ApiModelProperty("标签权限")
    private List<TagPermission> tagPerms;

    public Role() {
    }

    public Role(String roleId, String roleName, String isLocked, String roleDsc, String efftctiveSymbol) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.isLocked = isLocked;
        this.roleDsc = roleDsc;
        this.efftctiveSymbol = efftctiveSymbol;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getIsLocked() {
        return isLocked;
    }

    public void setIsLocked(String isLocked) {
        this.isLocked = isLocked;
    }

    public String getIsLockedName() {
        return isLockedName;
    }

    public void setIsLockedName(String isLockedName) {
        this.isLockedName = isLockedName;
    }

    public String getRoleDsc() {
        return roleDsc;
    }

    public void setRoleDsc(String roleDsc) {
        this.roleDsc = roleDsc;
    }

    public String getEfftctiveSymbol() {
        return efftctiveSymbol;
    }

    public void setEfftctiveSymbol(String efftctiveSymbol) {
        this.efftctiveSymbol = efftctiveSymbol;
    }

    public String getIsEfftctive() {
        return isEfftctive;
    }

    public void setIsEfftctive(String isEfftctive) {
        this.isEfftctive = isEfftctive;
    }

    public List<String> getPowerIds() {
        return powerIds;
    }

    public void setPowerIds(List<String> powerIds) {
        this.powerIds = powerIds;
    }

    public String getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(String operateTime) {
        this.operateTime = operateTime;
    }

    public List<TagPermission> getTagPerms() {
        return tagPerms;
    }

    public void setTagPerms(List<TagPermission> tagPerms) {
        this.tagPerms = tagPerms;
    }

}
